[INFO] fetching crate newport_os 0.2.0...
[INFO] checking newport_os-0.2.0 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate newport_os 0.2.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate newport_os 0.2.0
[INFO] finished tweaking crates.io crate newport_os 0.2.0
[INFO] tweaked toml for crates.io crate newport_os 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate newport_os 0.2.0 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 8 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 272b78a3f23825bef9273d5632e9d18d6477d4159daaff6b2e1984d30a19d647
[INFO] running `Command { std: "docker" "start" "-a" "272b78a3f23825bef9273d5632e9d18d6477d4159daaff6b2e1984d30a19d647", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "272b78a3f23825bef9273d5632e9d18d6477d4159daaff6b2e1984d30a19d647", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "272b78a3f23825bef9273d5632e9d18d6477d4159daaff6b2e1984d30a19d647", kill_on_drop: false }`
[INFO] [stdout] 272b78a3f23825bef9273d5632e9d18d6477d4159daaff6b2e1984d30a19d647
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 54538747208bdbdbdbf4d45c8aeb1d1bb576b9ed318c3869f174cd7819a05ac8
[INFO] running `Command { std: "docker" "start" "-a" "54538747208bdbdbdbf4d45c8aeb1d1bb576b9ed318c3869f174cd7819a05ac8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking newport_math v0.2.0
[INFO] [stderr]     Checking newport_os v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/window.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     os::windows::ffi::OsStrExt,
[INFO] [stdout]    |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:56:5
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:120:10
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::win32`
[INFO] [stdout]  --> src/dialog.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::win32::*;
[INFO] [stdout]   |            ^^^^^ could not find `win32` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::library::Library`
[INFO] [stdout]   --> src/window.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::library::Library;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]   --> src/window.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use lazy_static::lazy_static;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CString`, `OsString`, `mem::size_of`, `null_mut`, `null`, and `num::Wrapping`
[INFO] [stdout]   --> src/window.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         CString,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 26 |         OsString,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 27 |     },
[INFO] [stdout] 28 |     mem::size_of,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     num::Wrapping,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         null,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |         null_mut,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/window.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     os::windows::ffi::OsStrExt,
[INFO] [stdout]    |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:56:5
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/os/mod.rs:120:10
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::win32`
[INFO] [stdout]  --> src/dialog.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::win32::*;
[INFO] [stdout]   |            ^^^^^ could not find `win32` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::library::Library`
[INFO] [stdout]   --> src/window.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::library::Library;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]   --> src/window.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use lazy_static::lazy_static;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CString`, `OsString`, `mem::size_of`, `null_mut`, `null`, and `num::Wrapping`
[INFO] [stdout]   --> src/window.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         CString,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 26 |         OsString,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 27 |     },
[INFO] [stdout] 28 |     mem::size_of,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     num::Wrapping,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         null,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |         null_mut,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for reference `&'a Window` in the current scope
[INFO] [stdout]   --> src/dialog.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |             hwndOwner: self.window.handle(),
[INFO] [stdout]    |                                    ^^^^^^ private field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Library` has no field named `handle`
[INFO] [stdout]   --> src/library.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Ok(Library { handle: handle })
[INFO] [stdout]    |                          ^^^^^^ `Library` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handle` on type `&Library`
[INFO] [stdout]   --> src/library.rs:42:32
[INFO] [stdout]    |
[INFO] [stdout] 42 |         unsafe { GetProcAddress(self.handle, buffer.as_ptr() as LPCSTR) as _ }
[INFO] [stdout]    |                                      ^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handle` on type `&mut Library`
[INFO] [stdout]   --> src/library.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |             FreeLibrary(self.handle);
[INFO] [stdout]    |                              ^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0560, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for reference `&'a Window` in the current scope
[INFO] [stdout]   --> src/dialog.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |             hwndOwner: self.window.handle(),
[INFO] [stdout]    |                                    ^^^^^^ private field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `newport_os` (lib test) due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0560]: struct `Library` has no field named `handle`
[INFO] [stdout]   --> src/library.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Ok(Library { handle: handle })
[INFO] [stdout]    |                          ^^^^^^ `Library` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handle` on type `&Library`
[INFO] [stdout]   --> src/library.rs:42:32
[INFO] [stdout]    |
[INFO] [stdout] 42 |         unsafe { GetProcAddress(self.handle, buffer.as_ptr() as LPCSTR) as _ }
[INFO] [stdout]    |                                      ^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handle` on type `&mut Library`
[INFO] [stdout]   --> src/library.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |             FreeLibrary(self.handle);
[INFO] [stdout]    |                              ^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0560, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `newport_os` (lib) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "54538747208bdbdbdbf4d45c8aeb1d1bb576b9ed318c3869f174cd7819a05ac8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54538747208bdbdbdbf4d45c8aeb1d1bb576b9ed318c3869f174cd7819a05ac8", kill_on_drop: false }`
[INFO] [stdout] 54538747208bdbdbdbf4d45c8aeb1d1bb576b9ed318c3869f174cd7819a05ac8
